<?php
/**
 * Created by PhpStorm.
 * User: krystal
 * Date: 2019/4/9
 * Time: 11:38
 */

namespace app\common\model;


/**
 * 保存订单数据
 * Class ZhunleOrderGoods
 * @package app\common\model
 */
class ZhunleOrderGoods extends Base
{
    protected $table = 'wechat_backup_07_18_14_43_00.zhunle_order_goods';

    public function saveOrder($map = [])
    {
        try {
            $this->saveAll($map);
        } catch (\Exception $e) {
            $this->error = '订单入库失败';
            return false;
        }

        return true;
    }

}